#define _CRT_SECURE_NO_WARNINGS

#include"BinaryTree.h"



int main()
{
	char* a = "ABD##E#H##CF##G##";
	int i = 0;
	BTNode* tree= BinaryTreeCreate(a, 17, &i);
	int n=BinaryTreeSize(tree);
	BinaryTreePrevOrder(tree);
	printf("\n");
	BinaryTreeInOrder(tree);
	printf("\n");
	BinaryTreePostOrder(tree);
	printf("\n");
	BinaryTreeLevelOrder(tree);
	//BTNode* ret = BinaryTreeFind(tree, 'G');
	int x = BinaryTreeLevelKSize(tree, 5);
	int ret=BinaryTreeComplete(tree);
	BinaryTreeDestory(&tree);
	return 0;
}


